package com.hutao.manage.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

public class StdhospitalofficeExample {
    /**
     * STDHOSPITALOFFICE_
     */
    protected String orderByClause;

    /**
     * STDHOSPITALOFFICE_
     */
    protected boolean distinct;

    /**
     * STDHOSPITALOFFICE_
     */
    protected List<Criteria> oredCriteria;

    /**
     *
     * @代码生成于 2020-06-10
     */
    public StdhospitalofficeExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    /**
     *
     * @代码生成于 2020-06-10
     */
    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    /**
     *
     * @代码生成于 2020-06-10
     */
    public String getOrderByClause() {
        return orderByClause;
    }

    /**
     *
     * @代码生成于 2020-06-10
     */
    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    /**
     *
     * @代码生成于 2020-06-10
     */
    public boolean isDistinct() {
        return distinct;
    }

    /**
     *
     * @代码生成于 2020-06-10
     */
    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    /**
     *
     * @代码生成于 2020-06-10
     */
    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    /**
     *
     * @代码生成于 2020-06-10
     */
    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    /**
     *
     * @代码生成于 2020-06-10
     */
    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    /**
     *
     * @代码生成于 2020-06-10
     */
    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    /**
     *
     * @代码生成于 2020-06-10
     */
    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * STDHOSPITALOFFICE_ 2020-06-10
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }

        public Criteria andIdIsNull() {
            addCriterion("ID is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("ID is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("ID =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("ID <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("ID >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("ID >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("ID <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("ID <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("ID in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("ID not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("ID between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("ID not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andCccodeIsNull() {
            addCriterion("CCCODE_ is null");
            return (Criteria) this;
        }

        public Criteria andCccodeIsNotNull() {
            addCriterion("CCCODE_ is not null");
            return (Criteria) this;
        }

        public Criteria andCccodeEqualTo(String value) {
            addCriterion("CCCODE_ =", value, "cccode");
            return (Criteria) this;
        }

        public Criteria andCccodeNotEqualTo(String value) {
            addCriterion("CCCODE_ <>", value, "cccode");
            return (Criteria) this;
        }

        public Criteria andCccodeGreaterThan(String value) {
            addCriterion("CCCODE_ >", value, "cccode");
            return (Criteria) this;
        }

        public Criteria andCccodeGreaterThanOrEqualTo(String value) {
            addCriterion("CCCODE_ >=", value, "cccode");
            return (Criteria) this;
        }

        public Criteria andCccodeLessThan(String value) {
            addCriterion("CCCODE_ <", value, "cccode");
            return (Criteria) this;
        }

        public Criteria andCccodeLessThanOrEqualTo(String value) {
            addCriterion("CCCODE_ <=", value, "cccode");
            return (Criteria) this;
        }

        public Criteria andCccodeLike(String value) {
            addCriterion("CCCODE_ like", value, "cccode");
            return (Criteria) this;
        }

        public Criteria andCccodeNotLike(String value) {
            addCriterion("CCCODE_ not like", value, "cccode");
            return (Criteria) this;
        }

        public Criteria andCccodeIn(List<String> values) {
            addCriterion("CCCODE_ in", values, "cccode");
            return (Criteria) this;
        }

        public Criteria andCccodeNotIn(List<String> values) {
            addCriterion("CCCODE_ not in", values, "cccode");
            return (Criteria) this;
        }

        public Criteria andCccodeBetween(String value1, String value2) {
            addCriterion("CCCODE_ between", value1, value2, "cccode");
            return (Criteria) this;
        }

        public Criteria andCccodeNotBetween(String value1, String value2) {
            addCriterion("CCCODE_ not between", value1, value2, "cccode");
            return (Criteria) this;
        }

        public Criteria andCodeIsNull() {
            addCriterion("CODE_ is null");
            return (Criteria) this;
        }

        public Criteria andCodeIsNotNull() {
            addCriterion("CODE_ is not null");
            return (Criteria) this;
        }

        public Criteria andCodeEqualTo(String value) {
            addCriterion("CODE_ =", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotEqualTo(String value) {
            addCriterion("CODE_ <>", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeGreaterThan(String value) {
            addCriterion("CODE_ >", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeGreaterThanOrEqualTo(String value) {
            addCriterion("CODE_ >=", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeLessThan(String value) {
            addCriterion("CODE_ <", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeLessThanOrEqualTo(String value) {
            addCriterion("CODE_ <=", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeLike(String value) {
            addCriterion("CODE_ like", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotLike(String value) {
            addCriterion("CODE_ not like", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeIn(List<String> values) {
            addCriterion("CODE_ in", values, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotIn(List<String> values) {
            addCriterion("CODE_ not in", values, "code");
            return (Criteria) this;
        }

        public Criteria andCodeBetween(String value1, String value2) {
            addCriterion("CODE_ between", value1, value2, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotBetween(String value1, String value2) {
            addCriterion("CODE_ not between", value1, value2, "code");
            return (Criteria) this;
        }

        public Criteria andCommentIsNull() {
            addCriterion("COMMENT_ is null");
            return (Criteria) this;
        }

        public Criteria andCommentIsNotNull() {
            addCriterion("COMMENT_ is not null");
            return (Criteria) this;
        }

        public Criteria andCommentEqualTo(String value) {
            addCriterion("COMMENT_ =", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentNotEqualTo(String value) {
            addCriterion("COMMENT_ <>", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentGreaterThan(String value) {
            addCriterion("COMMENT_ >", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentGreaterThanOrEqualTo(String value) {
            addCriterion("COMMENT_ >=", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentLessThan(String value) {
            addCriterion("COMMENT_ <", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentLessThanOrEqualTo(String value) {
            addCriterion("COMMENT_ <=", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentLike(String value) {
            addCriterion("COMMENT_ like", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentNotLike(String value) {
            addCriterion("COMMENT_ not like", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentIn(List<String> values) {
            addCriterion("COMMENT_ in", values, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentNotIn(List<String> values) {
            addCriterion("COMMENT_ not in", values, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentBetween(String value1, String value2) {
            addCriterion("COMMENT_ between", value1, value2, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentNotBetween(String value1, String value2) {
            addCriterion("COMMENT_ not between", value1, value2, "comment");
            return (Criteria) this;
        }

        public Criteria andExistingbedIsNull() {
            addCriterion("EXISTINGBED_ is null");
            return (Criteria) this;
        }

        public Criteria andExistingbedIsNotNull() {
            addCriterion("EXISTINGBED_ is not null");
            return (Criteria) this;
        }

        public Criteria andExistingbedEqualTo(Long value) {
            addCriterion("EXISTINGBED_ =", value, "existingbed");
            return (Criteria) this;
        }

        public Criteria andExistingbedNotEqualTo(Long value) {
            addCriterion("EXISTINGBED_ <>", value, "existingbed");
            return (Criteria) this;
        }

        public Criteria andExistingbedGreaterThan(Long value) {
            addCriterion("EXISTINGBED_ >", value, "existingbed");
            return (Criteria) this;
        }

        public Criteria andExistingbedGreaterThanOrEqualTo(Long value) {
            addCriterion("EXISTINGBED_ >=", value, "existingbed");
            return (Criteria) this;
        }

        public Criteria andExistingbedLessThan(Long value) {
            addCriterion("EXISTINGBED_ <", value, "existingbed");
            return (Criteria) this;
        }

        public Criteria andExistingbedLessThanOrEqualTo(Long value) {
            addCriterion("EXISTINGBED_ <=", value, "existingbed");
            return (Criteria) this;
        }

        public Criteria andExistingbedIn(List<Long> values) {
            addCriterion("EXISTINGBED_ in", values, "existingbed");
            return (Criteria) this;
        }

        public Criteria andExistingbedNotIn(List<Long> values) {
            addCriterion("EXISTINGBED_ not in", values, "existingbed");
            return (Criteria) this;
        }

        public Criteria andExistingbedBetween(Long value1, Long value2) {
            addCriterion("EXISTINGBED_ between", value1, value2, "existingbed");
            return (Criteria) this;
        }

        public Criteria andExistingbedNotBetween(Long value1, Long value2) {
            addCriterion("EXISTINGBED_ not between", value1, value2, "existingbed");
            return (Criteria) this;
        }

        public Criteria andFlagIsNull() {
            addCriterion("FLAG_ is null");
            return (Criteria) this;
        }

        public Criteria andFlagIsNotNull() {
            addCriterion("FLAG_ is not null");
            return (Criteria) this;
        }

        public Criteria andFlagEqualTo(Long value) {
            addCriterion("FLAG_ =", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagNotEqualTo(Long value) {
            addCriterion("FLAG_ <>", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagGreaterThan(Long value) {
            addCriterion("FLAG_ >", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagGreaterThanOrEqualTo(Long value) {
            addCriterion("FLAG_ >=", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagLessThan(Long value) {
            addCriterion("FLAG_ <", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagLessThanOrEqualTo(Long value) {
            addCriterion("FLAG_ <=", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagIn(List<Long> values) {
            addCriterion("FLAG_ in", values, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagNotIn(List<Long> values) {
            addCriterion("FLAG_ not in", values, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagBetween(Long value1, Long value2) {
            addCriterion("FLAG_ between", value1, value2, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagNotBetween(Long value1, Long value2) {
            addCriterion("FLAG_ not between", value1, value2, "flag");
            return (Criteria) this;
        }

        public Criteria andFormationbedIsNull() {
            addCriterion("FORMATIONBED_ is null");
            return (Criteria) this;
        }

        public Criteria andFormationbedIsNotNull() {
            addCriterion("FORMATIONBED_ is not null");
            return (Criteria) this;
        }

        public Criteria andFormationbedEqualTo(Long value) {
            addCriterion("FORMATIONBED_ =", value, "formationbed");
            return (Criteria) this;
        }

        public Criteria andFormationbedNotEqualTo(Long value) {
            addCriterion("FORMATIONBED_ <>", value, "formationbed");
            return (Criteria) this;
        }

        public Criteria andFormationbedGreaterThan(Long value) {
            addCriterion("FORMATIONBED_ >", value, "formationbed");
            return (Criteria) this;
        }

        public Criteria andFormationbedGreaterThanOrEqualTo(Long value) {
            addCriterion("FORMATIONBED_ >=", value, "formationbed");
            return (Criteria) this;
        }

        public Criteria andFormationbedLessThan(Long value) {
            addCriterion("FORMATIONBED_ <", value, "formationbed");
            return (Criteria) this;
        }

        public Criteria andFormationbedLessThanOrEqualTo(Long value) {
            addCriterion("FORMATIONBED_ <=", value, "formationbed");
            return (Criteria) this;
        }

        public Criteria andFormationbedIn(List<Long> values) {
            addCriterion("FORMATIONBED_ in", values, "formationbed");
            return (Criteria) this;
        }

        public Criteria andFormationbedNotIn(List<Long> values) {
            addCriterion("FORMATIONBED_ not in", values, "formationbed");
            return (Criteria) this;
        }

        public Criteria andFormationbedBetween(Long value1, Long value2) {
            addCriterion("FORMATIONBED_ between", value1, value2, "formationbed");
            return (Criteria) this;
        }

        public Criteria andFormationbedNotBetween(Long value1, Long value2) {
            addCriterion("FORMATIONBED_ not between", value1, value2, "formationbed");
            return (Criteria) this;
        }

        public Criteria andIndexcodeIsNull() {
            addCriterion("INDEXCODE_ is null");
            return (Criteria) this;
        }

        public Criteria andIndexcodeIsNotNull() {
            addCriterion("INDEXCODE_ is not null");
            return (Criteria) this;
        }

        public Criteria andIndexcodeEqualTo(String value) {
            addCriterion("INDEXCODE_ =", value, "indexcode");
            return (Criteria) this;
        }

        public Criteria andIndexcodeNotEqualTo(String value) {
            addCriterion("INDEXCODE_ <>", value, "indexcode");
            return (Criteria) this;
        }

        public Criteria andIndexcodeGreaterThan(String value) {
            addCriterion("INDEXCODE_ >", value, "indexcode");
            return (Criteria) this;
        }

        public Criteria andIndexcodeGreaterThanOrEqualTo(String value) {
            addCriterion("INDEXCODE_ >=", value, "indexcode");
            return (Criteria) this;
        }

        public Criteria andIndexcodeLessThan(String value) {
            addCriterion("INDEXCODE_ <", value, "indexcode");
            return (Criteria) this;
        }

        public Criteria andIndexcodeLessThanOrEqualTo(String value) {
            addCriterion("INDEXCODE_ <=", value, "indexcode");
            return (Criteria) this;
        }

        public Criteria andIndexcodeLike(String value) {
            addCriterion("INDEXCODE_ like", value, "indexcode");
            return (Criteria) this;
        }

        public Criteria andIndexcodeNotLike(String value) {
            addCriterion("INDEXCODE_ not like", value, "indexcode");
            return (Criteria) this;
        }

        public Criteria andIndexcodeIn(List<String> values) {
            addCriterion("INDEXCODE_ in", values, "indexcode");
            return (Criteria) this;
        }

        public Criteria andIndexcodeNotIn(List<String> values) {
            addCriterion("INDEXCODE_ not in", values, "indexcode");
            return (Criteria) this;
        }

        public Criteria andIndexcodeBetween(String value1, String value2) {
            addCriterion("INDEXCODE_ between", value1, value2, "indexcode");
            return (Criteria) this;
        }

        public Criteria andIndexcodeNotBetween(String value1, String value2) {
            addCriterion("INDEXCODE_ not between", value1, value2, "indexcode");
            return (Criteria) this;
        }

        public Criteria andIsleafIsNull() {
            addCriterion("ISLEAF_ is null");
            return (Criteria) this;
        }

        public Criteria andIsleafIsNotNull() {
            addCriterion("ISLEAF_ is not null");
            return (Criteria) this;
        }

        public Criteria andIsleafEqualTo(Long value) {
            addCriterion("ISLEAF_ =", value, "isleaf");
            return (Criteria) this;
        }

        public Criteria andIsleafNotEqualTo(Long value) {
            addCriterion("ISLEAF_ <>", value, "isleaf");
            return (Criteria) this;
        }

        public Criteria andIsleafGreaterThan(Long value) {
            addCriterion("ISLEAF_ >", value, "isleaf");
            return (Criteria) this;
        }

        public Criteria andIsleafGreaterThanOrEqualTo(Long value) {
            addCriterion("ISLEAF_ >=", value, "isleaf");
            return (Criteria) this;
        }

        public Criteria andIsleafLessThan(Long value) {
            addCriterion("ISLEAF_ <", value, "isleaf");
            return (Criteria) this;
        }

        public Criteria andIsleafLessThanOrEqualTo(Long value) {
            addCriterion("ISLEAF_ <=", value, "isleaf");
            return (Criteria) this;
        }

        public Criteria andIsleafIn(List<Long> values) {
            addCriterion("ISLEAF_ in", values, "isleaf");
            return (Criteria) this;
        }

        public Criteria andIsleafNotIn(List<Long> values) {
            addCriterion("ISLEAF_ not in", values, "isleaf");
            return (Criteria) this;
        }

        public Criteria andIsleafBetween(Long value1, Long value2) {
            addCriterion("ISLEAF_ between", value1, value2, "isleaf");
            return (Criteria) this;
        }

        public Criteria andIsleafNotBetween(Long value1, Long value2) {
            addCriterion("ISLEAF_ not between", value1, value2, "isleaf");
            return (Criteria) this;
        }

        public Criteria andLevelIsNull() {
            addCriterion("LEVEL_ is null");
            return (Criteria) this;
        }

        public Criteria andLevelIsNotNull() {
            addCriterion("LEVEL_ is not null");
            return (Criteria) this;
        }

        public Criteria andLevelEqualTo(Long value) {
            addCriterion("LEVEL_ =", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelNotEqualTo(Long value) {
            addCriterion("LEVEL_ <>", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelGreaterThan(Long value) {
            addCriterion("LEVEL_ >", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelGreaterThanOrEqualTo(Long value) {
            addCriterion("LEVEL_ >=", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelLessThan(Long value) {
            addCriterion("LEVEL_ <", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelLessThanOrEqualTo(Long value) {
            addCriterion("LEVEL_ <=", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelIn(List<Long> values) {
            addCriterion("LEVEL_ in", values, "level");
            return (Criteria) this;
        }

        public Criteria andLevelNotIn(List<Long> values) {
            addCriterion("LEVEL_ not in", values, "level");
            return (Criteria) this;
        }

        public Criteria andLevelBetween(Long value1, Long value2) {
            addCriterion("LEVEL_ between", value1, value2, "level");
            return (Criteria) this;
        }

        public Criteria andLevelNotBetween(Long value1, Long value2) {
            addCriterion("LEVEL_ not between", value1, value2, "level");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("NAME_ is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("NAME_ is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("NAME_ =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("NAME_ <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("NAME_ >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("NAME_ >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("NAME_ <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("NAME_ <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("NAME_ like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("NAME_ not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("NAME_ in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("NAME_ not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("NAME_ between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("NAME_ not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameenIsNull() {
            addCriterion("NAMEEN_ is null");
            return (Criteria) this;
        }

        public Criteria andNameenIsNotNull() {
            addCriterion("NAMEEN_ is not null");
            return (Criteria) this;
        }

        public Criteria andNameenEqualTo(String value) {
            addCriterion("NAMEEN_ =", value, "nameen");
            return (Criteria) this;
        }

        public Criteria andNameenNotEqualTo(String value) {
            addCriterion("NAMEEN_ <>", value, "nameen");
            return (Criteria) this;
        }

        public Criteria andNameenGreaterThan(String value) {
            addCriterion("NAMEEN_ >", value, "nameen");
            return (Criteria) this;
        }

        public Criteria andNameenGreaterThanOrEqualTo(String value) {
            addCriterion("NAMEEN_ >=", value, "nameen");
            return (Criteria) this;
        }

        public Criteria andNameenLessThan(String value) {
            addCriterion("NAMEEN_ <", value, "nameen");
            return (Criteria) this;
        }

        public Criteria andNameenLessThanOrEqualTo(String value) {
            addCriterion("NAMEEN_ <=", value, "nameen");
            return (Criteria) this;
        }

        public Criteria andNameenLike(String value) {
            addCriterion("NAMEEN_ like", value, "nameen");
            return (Criteria) this;
        }

        public Criteria andNameenNotLike(String value) {
            addCriterion("NAMEEN_ not like", value, "nameen");
            return (Criteria) this;
        }

        public Criteria andNameenIn(List<String> values) {
            addCriterion("NAMEEN_ in", values, "nameen");
            return (Criteria) this;
        }

        public Criteria andNameenNotIn(List<String> values) {
            addCriterion("NAMEEN_ not in", values, "nameen");
            return (Criteria) this;
        }

        public Criteria andNameenBetween(String value1, String value2) {
            addCriterion("NAMEEN_ between", value1, value2, "nameen");
            return (Criteria) this;
        }

        public Criteria andNameenNotBetween(String value1, String value2) {
            addCriterion("NAMEEN_ not between", value1, value2, "nameen");
            return (Criteria) this;
        }

        public Criteria andNamesIsNull() {
            addCriterion("NAMES_ is null");
            return (Criteria) this;
        }

        public Criteria andNamesIsNotNull() {
            addCriterion("NAMES_ is not null");
            return (Criteria) this;
        }

        public Criteria andNamesEqualTo(String value) {
            addCriterion("NAMES_ =", value, "names");
            return (Criteria) this;
        }

        public Criteria andNamesNotEqualTo(String value) {
            addCriterion("NAMES_ <>", value, "names");
            return (Criteria) this;
        }

        public Criteria andNamesGreaterThan(String value) {
            addCriterion("NAMES_ >", value, "names");
            return (Criteria) this;
        }

        public Criteria andNamesGreaterThanOrEqualTo(String value) {
            addCriterion("NAMES_ >=", value, "names");
            return (Criteria) this;
        }

        public Criteria andNamesLessThan(String value) {
            addCriterion("NAMES_ <", value, "names");
            return (Criteria) this;
        }

        public Criteria andNamesLessThanOrEqualTo(String value) {
            addCriterion("NAMES_ <=", value, "names");
            return (Criteria) this;
        }

        public Criteria andNamesLike(String value) {
            addCriterion("NAMES_ like", value, "names");
            return (Criteria) this;
        }

        public Criteria andNamesNotLike(String value) {
            addCriterion("NAMES_ not like", value, "names");
            return (Criteria) this;
        }

        public Criteria andNamesIn(List<String> values) {
            addCriterion("NAMES_ in", values, "names");
            return (Criteria) this;
        }

        public Criteria andNamesNotIn(List<String> values) {
            addCriterion("NAMES_ not in", values, "names");
            return (Criteria) this;
        }

        public Criteria andNamesBetween(String value1, String value2) {
            addCriterion("NAMES_ between", value1, value2, "names");
            return (Criteria) this;
        }

        public Criteria andNamesNotBetween(String value1, String value2) {
            addCriterion("NAMES_ not between", value1, value2, "names");
            return (Criteria) this;
        }

        public Criteria andNamesenIsNull() {
            addCriterion("NAMESEN_ is null");
            return (Criteria) this;
        }

        public Criteria andNamesenIsNotNull() {
            addCriterion("NAMESEN_ is not null");
            return (Criteria) this;
        }

        public Criteria andNamesenEqualTo(String value) {
            addCriterion("NAMESEN_ =", value, "namesen");
            return (Criteria) this;
        }

        public Criteria andNamesenNotEqualTo(String value) {
            addCriterion("NAMESEN_ <>", value, "namesen");
            return (Criteria) this;
        }

        public Criteria andNamesenGreaterThan(String value) {
            addCriterion("NAMESEN_ >", value, "namesen");
            return (Criteria) this;
        }

        public Criteria andNamesenGreaterThanOrEqualTo(String value) {
            addCriterion("NAMESEN_ >=", value, "namesen");
            return (Criteria) this;
        }

        public Criteria andNamesenLessThan(String value) {
            addCriterion("NAMESEN_ <", value, "namesen");
            return (Criteria) this;
        }

        public Criteria andNamesenLessThanOrEqualTo(String value) {
            addCriterion("NAMESEN_ <=", value, "namesen");
            return (Criteria) this;
        }

        public Criteria andNamesenLike(String value) {
            addCriterion("NAMESEN_ like", value, "namesen");
            return (Criteria) this;
        }

        public Criteria andNamesenNotLike(String value) {
            addCriterion("NAMESEN_ not like", value, "namesen");
            return (Criteria) this;
        }

        public Criteria andNamesenIn(List<String> values) {
            addCriterion("NAMESEN_ in", values, "namesen");
            return (Criteria) this;
        }

        public Criteria andNamesenNotIn(List<String> values) {
            addCriterion("NAMESEN_ not in", values, "namesen");
            return (Criteria) this;
        }

        public Criteria andNamesenBetween(String value1, String value2) {
            addCriterion("NAMESEN_ between", value1, value2, "namesen");
            return (Criteria) this;
        }

        public Criteria andNamesenNotBetween(String value1, String value2) {
            addCriterion("NAMESEN_ not between", value1, value2, "namesen");
            return (Criteria) this;
        }

        public Criteria andOrgcodeIsNull() {
            addCriterion("ORGCODE_ is null");
            return (Criteria) this;
        }

        public Criteria andOrgcodeIsNotNull() {
            addCriterion("ORGCODE_ is not null");
            return (Criteria) this;
        }

        public Criteria andOrgcodeEqualTo(String value) {
            addCriterion("ORGCODE_ =", value, "orgcode");
            return (Criteria) this;
        }

        public Criteria andOrgcodeNotEqualTo(String value) {
            addCriterion("ORGCODE_ <>", value, "orgcode");
            return (Criteria) this;
        }

        public Criteria andOrgcodeGreaterThan(String value) {
            addCriterion("ORGCODE_ >", value, "orgcode");
            return (Criteria) this;
        }

        public Criteria andOrgcodeGreaterThanOrEqualTo(String value) {
            addCriterion("ORGCODE_ >=", value, "orgcode");
            return (Criteria) this;
        }

        public Criteria andOrgcodeLessThan(String value) {
            addCriterion("ORGCODE_ <", value, "orgcode");
            return (Criteria) this;
        }

        public Criteria andOrgcodeLessThanOrEqualTo(String value) {
            addCriterion("ORGCODE_ <=", value, "orgcode");
            return (Criteria) this;
        }

        public Criteria andOrgcodeLike(String value) {
            addCriterion("ORGCODE_ like", value, "orgcode");
            return (Criteria) this;
        }

        public Criteria andOrgcodeNotLike(String value) {
            addCriterion("ORGCODE_ not like", value, "orgcode");
            return (Criteria) this;
        }

        public Criteria andOrgcodeIn(List<String> values) {
            addCriterion("ORGCODE_ in", values, "orgcode");
            return (Criteria) this;
        }

        public Criteria andOrgcodeNotIn(List<String> values) {
            addCriterion("ORGCODE_ not in", values, "orgcode");
            return (Criteria) this;
        }

        public Criteria andOrgcodeBetween(String value1, String value2) {
            addCriterion("ORGCODE_ between", value1, value2, "orgcode");
            return (Criteria) this;
        }

        public Criteria andOrgcodeNotBetween(String value1, String value2) {
            addCriterion("ORGCODE_ not between", value1, value2, "orgcode");
            return (Criteria) this;
        }

        public Criteria andParentIsNull() {
            addCriterion("PARENT_ is null");
            return (Criteria) this;
        }

        public Criteria andParentIsNotNull() {
            addCriterion("PARENT_ is not null");
            return (Criteria) this;
        }

        public Criteria andParentEqualTo(String value) {
            addCriterion("PARENT_ =", value, "parent");
            return (Criteria) this;
        }

        public Criteria andParentNotEqualTo(String value) {
            addCriterion("PARENT_ <>", value, "parent");
            return (Criteria) this;
        }

        public Criteria andParentGreaterThan(String value) {
            addCriterion("PARENT_ >", value, "parent");
            return (Criteria) this;
        }

        public Criteria andParentGreaterThanOrEqualTo(String value) {
            addCriterion("PARENT_ >=", value, "parent");
            return (Criteria) this;
        }

        public Criteria andParentLessThan(String value) {
            addCriterion("PARENT_ <", value, "parent");
            return (Criteria) this;
        }

        public Criteria andParentLessThanOrEqualTo(String value) {
            addCriterion("PARENT_ <=", value, "parent");
            return (Criteria) this;
        }

        public Criteria andParentLike(String value) {
            addCriterion("PARENT_ like", value, "parent");
            return (Criteria) this;
        }

        public Criteria andParentNotLike(String value) {
            addCriterion("PARENT_ not like", value, "parent");
            return (Criteria) this;
        }

        public Criteria andParentIn(List<String> values) {
            addCriterion("PARENT_ in", values, "parent");
            return (Criteria) this;
        }

        public Criteria andParentNotIn(List<String> values) {
            addCriterion("PARENT_ not in", values, "parent");
            return (Criteria) this;
        }

        public Criteria andParentBetween(String value1, String value2) {
            addCriterion("PARENT_ between", value1, value2, "parent");
            return (Criteria) this;
        }

        public Criteria andParentNotBetween(String value1, String value2) {
            addCriterion("PARENT_ not between", value1, value2, "parent");
            return (Criteria) this;
        }

        public Criteria andParentidIsNull() {
            addCriterion("PARENTID_ is null");
            return (Criteria) this;
        }

        public Criteria andParentidIsNotNull() {
            addCriterion("PARENTID_ is not null");
            return (Criteria) this;
        }

        public Criteria andParentidEqualTo(Long value) {
            addCriterion("PARENTID_ =", value, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidNotEqualTo(Long value) {
            addCriterion("PARENTID_ <>", value, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidGreaterThan(Long value) {
            addCriterion("PARENTID_ >", value, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidGreaterThanOrEqualTo(Long value) {
            addCriterion("PARENTID_ >=", value, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidLessThan(Long value) {
            addCriterion("PARENTID_ <", value, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidLessThanOrEqualTo(Long value) {
            addCriterion("PARENTID_ <=", value, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidIn(List<Long> values) {
            addCriterion("PARENTID_ in", values, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidNotIn(List<Long> values) {
            addCriterion("PARENTID_ not in", values, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidBetween(Long value1, Long value2) {
            addCriterion("PARENTID_ between", value1, value2, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidNotBetween(Long value1, Long value2) {
            addCriterion("PARENTID_ not between", value1, value2, "parentid");
            return (Criteria) this;
        }

        public Criteria andSeqnoIsNull() {
            addCriterion("SEQNO_ is null");
            return (Criteria) this;
        }

        public Criteria andSeqnoIsNotNull() {
            addCriterion("SEQNO_ is not null");
            return (Criteria) this;
        }

        public Criteria andSeqnoEqualTo(String value) {
            addCriterion("SEQNO_ =", value, "seqno");
            return (Criteria) this;
        }

        public Criteria andSeqnoNotEqualTo(String value) {
            addCriterion("SEQNO_ <>", value, "seqno");
            return (Criteria) this;
        }

        public Criteria andSeqnoGreaterThan(String value) {
            addCriterion("SEQNO_ >", value, "seqno");
            return (Criteria) this;
        }

        public Criteria andSeqnoGreaterThanOrEqualTo(String value) {
            addCriterion("SEQNO_ >=", value, "seqno");
            return (Criteria) this;
        }

        public Criteria andSeqnoLessThan(String value) {
            addCriterion("SEQNO_ <", value, "seqno");
            return (Criteria) this;
        }

        public Criteria andSeqnoLessThanOrEqualTo(String value) {
            addCriterion("SEQNO_ <=", value, "seqno");
            return (Criteria) this;
        }

        public Criteria andSeqnoLike(String value) {
            addCriterion("SEQNO_ like", value, "seqno");
            return (Criteria) this;
        }

        public Criteria andSeqnoNotLike(String value) {
            addCriterion("SEQNO_ not like", value, "seqno");
            return (Criteria) this;
        }

        public Criteria andSeqnoIn(List<String> values) {
            addCriterion("SEQNO_ in", values, "seqno");
            return (Criteria) this;
        }

        public Criteria andSeqnoNotIn(List<String> values) {
            addCriterion("SEQNO_ not in", values, "seqno");
            return (Criteria) this;
        }

        public Criteria andSeqnoBetween(String value1, String value2) {
            addCriterion("SEQNO_ between", value1, value2, "seqno");
            return (Criteria) this;
        }

        public Criteria andSeqnoNotBetween(String value1, String value2) {
            addCriterion("SEQNO_ not between", value1, value2, "seqno");
            return (Criteria) this;
        }

        public Criteria andSuborgcodeIsNull() {
            addCriterion("SUBORGCODE_ is null");
            return (Criteria) this;
        }

        public Criteria andSuborgcodeIsNotNull() {
            addCriterion("SUBORGCODE_ is not null");
            return (Criteria) this;
        }

        public Criteria andSuborgcodeEqualTo(String value) {
            addCriterion("SUBORGCODE_ =", value, "suborgcode");
            return (Criteria) this;
        }

        public Criteria andSuborgcodeNotEqualTo(String value) {
            addCriterion("SUBORGCODE_ <>", value, "suborgcode");
            return (Criteria) this;
        }

        public Criteria andSuborgcodeGreaterThan(String value) {
            addCriterion("SUBORGCODE_ >", value, "suborgcode");
            return (Criteria) this;
        }

        public Criteria andSuborgcodeGreaterThanOrEqualTo(String value) {
            addCriterion("SUBORGCODE_ >=", value, "suborgcode");
            return (Criteria) this;
        }

        public Criteria andSuborgcodeLessThan(String value) {
            addCriterion("SUBORGCODE_ <", value, "suborgcode");
            return (Criteria) this;
        }

        public Criteria andSuborgcodeLessThanOrEqualTo(String value) {
            addCriterion("SUBORGCODE_ <=", value, "suborgcode");
            return (Criteria) this;
        }

        public Criteria andSuborgcodeLike(String value) {
            addCriterion("SUBORGCODE_ like", value, "suborgcode");
            return (Criteria) this;
        }

        public Criteria andSuborgcodeNotLike(String value) {
            addCriterion("SUBORGCODE_ not like", value, "suborgcode");
            return (Criteria) this;
        }

        public Criteria andSuborgcodeIn(List<String> values) {
            addCriterion("SUBORGCODE_ in", values, "suborgcode");
            return (Criteria) this;
        }

        public Criteria andSuborgcodeNotIn(List<String> values) {
            addCriterion("SUBORGCODE_ not in", values, "suborgcode");
            return (Criteria) this;
        }

        public Criteria andSuborgcodeBetween(String value1, String value2) {
            addCriterion("SUBORGCODE_ between", value1, value2, "suborgcode");
            return (Criteria) this;
        }

        public Criteria andSuborgcodeNotBetween(String value1, String value2) {
            addCriterion("SUBORGCODE_ not between", value1, value2, "suborgcode");
            return (Criteria) this;
        }

        public Criteria andIntroIsNull() {
            addCriterion("INTRO_ is null");
            return (Criteria) this;
        }

        public Criteria andIntroIsNotNull() {
            addCriterion("INTRO_ is not null");
            return (Criteria) this;
        }

        public Criteria andIntroEqualTo(String value) {
            addCriterion("INTRO_ =", value, "intro");
            return (Criteria) this;
        }

        public Criteria andIntroNotEqualTo(String value) {
            addCriterion("INTRO_ <>", value, "intro");
            return (Criteria) this;
        }

        public Criteria andIntroGreaterThan(String value) {
            addCriterion("INTRO_ >", value, "intro");
            return (Criteria) this;
        }

        public Criteria andIntroGreaterThanOrEqualTo(String value) {
            addCriterion("INTRO_ >=", value, "intro");
            return (Criteria) this;
        }

        public Criteria andIntroLessThan(String value) {
            addCriterion("INTRO_ <", value, "intro");
            return (Criteria) this;
        }

        public Criteria andIntroLessThanOrEqualTo(String value) {
            addCriterion("INTRO_ <=", value, "intro");
            return (Criteria) this;
        }

        public Criteria andIntroLike(String value) {
            addCriterion("INTRO_ like", value, "intro");
            return (Criteria) this;
        }

        public Criteria andIntroNotLike(String value) {
            addCriterion("INTRO_ not like", value, "intro");
            return (Criteria) this;
        }

        public Criteria andIntroIn(List<String> values) {
            addCriterion("INTRO_ in", values, "intro");
            return (Criteria) this;
        }

        public Criteria andIntroNotIn(List<String> values) {
            addCriterion("INTRO_ not in", values, "intro");
            return (Criteria) this;
        }

        public Criteria andIntroBetween(String value1, String value2) {
            addCriterion("INTRO_ between", value1, value2, "intro");
            return (Criteria) this;
        }

        public Criteria andIntroNotBetween(String value1, String value2) {
            addCriterion("INTRO_ not between", value1, value2, "intro");
            return (Criteria) this;
        }

        public Criteria andOfficetypeIsNull() {
            addCriterion("OFFICETYPE_ is null");
            return (Criteria) this;
        }

        public Criteria andOfficetypeIsNotNull() {
            addCriterion("OFFICETYPE_ is not null");
            return (Criteria) this;
        }

        public Criteria andOfficetypeEqualTo(String value) {
            addCriterion("OFFICETYPE_ =", value, "officetype");
            return (Criteria) this;
        }

        public Criteria andOfficetypeNotEqualTo(String value) {
            addCriterion("OFFICETYPE_ <>", value, "officetype");
            return (Criteria) this;
        }

        public Criteria andOfficetypeGreaterThan(String value) {
            addCriterion("OFFICETYPE_ >", value, "officetype");
            return (Criteria) this;
        }

        public Criteria andOfficetypeGreaterThanOrEqualTo(String value) {
            addCriterion("OFFICETYPE_ >=", value, "officetype");
            return (Criteria) this;
        }

        public Criteria andOfficetypeLessThan(String value) {
            addCriterion("OFFICETYPE_ <", value, "officetype");
            return (Criteria) this;
        }

        public Criteria andOfficetypeLessThanOrEqualTo(String value) {
            addCriterion("OFFICETYPE_ <=", value, "officetype");
            return (Criteria) this;
        }

        public Criteria andOfficetypeLike(String value) {
            addCriterion("OFFICETYPE_ like", value, "officetype");
            return (Criteria) this;
        }

        public Criteria andOfficetypeNotLike(String value) {
            addCriterion("OFFICETYPE_ not like", value, "officetype");
            return (Criteria) this;
        }

        public Criteria andOfficetypeIn(List<String> values) {
            addCriterion("OFFICETYPE_ in", values, "officetype");
            return (Criteria) this;
        }

        public Criteria andOfficetypeNotIn(List<String> values) {
            addCriterion("OFFICETYPE_ not in", values, "officetype");
            return (Criteria) this;
        }

        public Criteria andOfficetypeBetween(String value1, String value2) {
            addCriterion("OFFICETYPE_ between", value1, value2, "officetype");
            return (Criteria) this;
        }

        public Criteria andOfficetypeNotBetween(String value1, String value2) {
            addCriterion("OFFICETYPE_ not between", value1, value2, "officetype");
            return (Criteria) this;
        }

        public Criteria andStopedflagIsNull() {
            addCriterion("STOPEDFLAG_ is null");
            return (Criteria) this;
        }

        public Criteria andStopedflagIsNotNull() {
            addCriterion("STOPEDFLAG_ is not null");
            return (Criteria) this;
        }

        public Criteria andStopedflagEqualTo(String value) {
            addCriterion("STOPEDFLAG_ =", value, "stopedflag");
            return (Criteria) this;
        }

        public Criteria andStopedflagNotEqualTo(String value) {
            addCriterion("STOPEDFLAG_ <>", value, "stopedflag");
            return (Criteria) this;
        }

        public Criteria andStopedflagGreaterThan(String value) {
            addCriterion("STOPEDFLAG_ >", value, "stopedflag");
            return (Criteria) this;
        }

        public Criteria andStopedflagGreaterThanOrEqualTo(String value) {
            addCriterion("STOPEDFLAG_ >=", value, "stopedflag");
            return (Criteria) this;
        }

        public Criteria andStopedflagLessThan(String value) {
            addCriterion("STOPEDFLAG_ <", value, "stopedflag");
            return (Criteria) this;
        }

        public Criteria andStopedflagLessThanOrEqualTo(String value) {
            addCriterion("STOPEDFLAG_ <=", value, "stopedflag");
            return (Criteria) this;
        }

        public Criteria andStopedflagLike(String value) {
            addCriterion("STOPEDFLAG_ like", value, "stopedflag");
            return (Criteria) this;
        }

        public Criteria andStopedflagNotLike(String value) {
            addCriterion("STOPEDFLAG_ not like", value, "stopedflag");
            return (Criteria) this;
        }

        public Criteria andStopedflagIn(List<String> values) {
            addCriterion("STOPEDFLAG_ in", values, "stopedflag");
            return (Criteria) this;
        }

        public Criteria andStopedflagNotIn(List<String> values) {
            addCriterion("STOPEDFLAG_ not in", values, "stopedflag");
            return (Criteria) this;
        }

        public Criteria andStopedflagBetween(String value1, String value2) {
            addCriterion("STOPEDFLAG_ between", value1, value2, "stopedflag");
            return (Criteria) this;
        }

        public Criteria andStopedflagNotBetween(String value1, String value2) {
            addCriterion("STOPEDFLAG_ not between", value1, value2, "stopedflag");
            return (Criteria) this;
        }

        public Criteria andSbksbmIsNull() {
            addCriterion("SBKSBM_ is null");
            return (Criteria) this;
        }

        public Criteria andSbksbmIsNotNull() {
            addCriterion("SBKSBM_ is not null");
            return (Criteria) this;
        }

        public Criteria andSbksbmEqualTo(String value) {
            addCriterion("SBKSBM_ =", value, "sbksbm");
            return (Criteria) this;
        }

        public Criteria andSbksbmNotEqualTo(String value) {
            addCriterion("SBKSBM_ <>", value, "sbksbm");
            return (Criteria) this;
        }

        public Criteria andSbksbmGreaterThan(String value) {
            addCriterion("SBKSBM_ >", value, "sbksbm");
            return (Criteria) this;
        }

        public Criteria andSbksbmGreaterThanOrEqualTo(String value) {
            addCriterion("SBKSBM_ >=", value, "sbksbm");
            return (Criteria) this;
        }

        public Criteria andSbksbmLessThan(String value) {
            addCriterion("SBKSBM_ <", value, "sbksbm");
            return (Criteria) this;
        }

        public Criteria andSbksbmLessThanOrEqualTo(String value) {
            addCriterion("SBKSBM_ <=", value, "sbksbm");
            return (Criteria) this;
        }

        public Criteria andSbksbmLike(String value) {
            addCriterion("SBKSBM_ like", value, "sbksbm");
            return (Criteria) this;
        }

        public Criteria andSbksbmNotLike(String value) {
            addCriterion("SBKSBM_ not like", value, "sbksbm");
            return (Criteria) this;
        }

        public Criteria andSbksbmIn(List<String> values) {
            addCriterion("SBKSBM_ in", values, "sbksbm");
            return (Criteria) this;
        }

        public Criteria andSbksbmNotIn(List<String> values) {
            addCriterion("SBKSBM_ not in", values, "sbksbm");
            return (Criteria) this;
        }

        public Criteria andSbksbmBetween(String value1, String value2) {
            addCriterion("SBKSBM_ between", value1, value2, "sbksbm");
            return (Criteria) this;
        }

        public Criteria andSbksbmNotBetween(String value1, String value2) {
            addCriterion("SBKSBM_ not between", value1, value2, "sbksbm");
            return (Criteria) this;
        }

        public Criteria andPasswordIsNull() {
            addCriterion("PASSWORD is null");
            return (Criteria) this;
        }

        public Criteria andPasswordIsNotNull() {
            addCriterion("PASSWORD is not null");
            return (Criteria) this;
        }

        public Criteria andPasswordEqualTo(String value) {
            addCriterion("PASSWORD =", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordNotEqualTo(String value) {
            addCriterion("PASSWORD <>", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordGreaterThan(String value) {
            addCriterion("PASSWORD >", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordGreaterThanOrEqualTo(String value) {
            addCriterion("PASSWORD >=", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordLessThan(String value) {
            addCriterion("PASSWORD <", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordLessThanOrEqualTo(String value) {
            addCriterion("PASSWORD <=", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordLike(String value) {
            addCriterion("PASSWORD like", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordNotLike(String value) {
            addCriterion("PASSWORD not like", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordIn(List<String> values) {
            addCriterion("PASSWORD in", values, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordNotIn(List<String> values) {
            addCriterion("PASSWORD not in", values, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordBetween(String value1, String value2) {
            addCriterion("PASSWORD between", value1, value2, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordNotBetween(String value1, String value2) {
            addCriterion("PASSWORD not between", value1, value2, "password");
            return (Criteria) this;
        }

        public Criteria andInsideCallIsNull() {
            addCriterion("INSIDE_CALL is null");
            return (Criteria) this;
        }

        public Criteria andInsideCallIsNotNull() {
            addCriterion("INSIDE_CALL is not null");
            return (Criteria) this;
        }

        public Criteria andInsideCallEqualTo(String value) {
            addCriterion("INSIDE_CALL =", value, "insideCall");
            return (Criteria) this;
        }

        public Criteria andInsideCallNotEqualTo(String value) {
            addCriterion("INSIDE_CALL <>", value, "insideCall");
            return (Criteria) this;
        }

        public Criteria andInsideCallGreaterThan(String value) {
            addCriterion("INSIDE_CALL >", value, "insideCall");
            return (Criteria) this;
        }

        public Criteria andInsideCallGreaterThanOrEqualTo(String value) {
            addCriterion("INSIDE_CALL >=", value, "insideCall");
            return (Criteria) this;
        }

        public Criteria andInsideCallLessThan(String value) {
            addCriterion("INSIDE_CALL <", value, "insideCall");
            return (Criteria) this;
        }

        public Criteria andInsideCallLessThanOrEqualTo(String value) {
            addCriterion("INSIDE_CALL <=", value, "insideCall");
            return (Criteria) this;
        }

        public Criteria andInsideCallLike(String value) {
            addCriterion("INSIDE_CALL like", value, "insideCall");
            return (Criteria) this;
        }

        public Criteria andInsideCallNotLike(String value) {
            addCriterion("INSIDE_CALL not like", value, "insideCall");
            return (Criteria) this;
        }

        public Criteria andInsideCallIn(List<String> values) {
            addCriterion("INSIDE_CALL in", values, "insideCall");
            return (Criteria) this;
        }

        public Criteria andInsideCallNotIn(List<String> values) {
            addCriterion("INSIDE_CALL not in", values, "insideCall");
            return (Criteria) this;
        }

        public Criteria andInsideCallBetween(String value1, String value2) {
            addCriterion("INSIDE_CALL between", value1, value2, "insideCall");
            return (Criteria) this;
        }

        public Criteria andInsideCallNotBetween(String value1, String value2) {
            addCriterion("INSIDE_CALL not between", value1, value2, "insideCall");
            return (Criteria) this;
        }

        public Criteria andOutsideCallIsNull() {
            addCriterion("OUTSIDE_CALL is null");
            return (Criteria) this;
        }

        public Criteria andOutsideCallIsNotNull() {
            addCriterion("OUTSIDE_CALL is not null");
            return (Criteria) this;
        }

        public Criteria andOutsideCallEqualTo(String value) {
            addCriterion("OUTSIDE_CALL =", value, "outsideCall");
            return (Criteria) this;
        }

        public Criteria andOutsideCallNotEqualTo(String value) {
            addCriterion("OUTSIDE_CALL <>", value, "outsideCall");
            return (Criteria) this;
        }

        public Criteria andOutsideCallGreaterThan(String value) {
            addCriterion("OUTSIDE_CALL >", value, "outsideCall");
            return (Criteria) this;
        }

        public Criteria andOutsideCallGreaterThanOrEqualTo(String value) {
            addCriterion("OUTSIDE_CALL >=", value, "outsideCall");
            return (Criteria) this;
        }

        public Criteria andOutsideCallLessThan(String value) {
            addCriterion("OUTSIDE_CALL <", value, "outsideCall");
            return (Criteria) this;
        }

        public Criteria andOutsideCallLessThanOrEqualTo(String value) {
            addCriterion("OUTSIDE_CALL <=", value, "outsideCall");
            return (Criteria) this;
        }

        public Criteria andOutsideCallLike(String value) {
            addCriterion("OUTSIDE_CALL like", value, "outsideCall");
            return (Criteria) this;
        }

        public Criteria andOutsideCallNotLike(String value) {
            addCriterion("OUTSIDE_CALL not like", value, "outsideCall");
            return (Criteria) this;
        }

        public Criteria andOutsideCallIn(List<String> values) {
            addCriterion("OUTSIDE_CALL in", values, "outsideCall");
            return (Criteria) this;
        }

        public Criteria andOutsideCallNotIn(List<String> values) {
            addCriterion("OUTSIDE_CALL not in", values, "outsideCall");
            return (Criteria) this;
        }

        public Criteria andOutsideCallBetween(String value1, String value2) {
            addCriterion("OUTSIDE_CALL between", value1, value2, "outsideCall");
            return (Criteria) this;
        }

        public Criteria andOutsideCallNotBetween(String value1, String value2) {
            addCriterion("OUTSIDE_CALL not between", value1, value2, "outsideCall");
            return (Criteria) this;
        }

        public Criteria andCloudIdIsNull() {
            addCriterion("CLOUD_ID is null");
            return (Criteria) this;
        }

        public Criteria andCloudIdIsNotNull() {
            addCriterion("CLOUD_ID is not null");
            return (Criteria) this;
        }

        public Criteria andCloudIdEqualTo(Long value) {
            addCriterion("CLOUD_ID =", value, "cloudId");
            return (Criteria) this;
        }

        public Criteria andCloudIdNotEqualTo(Long value) {
            addCriterion("CLOUD_ID <>", value, "cloudId");
            return (Criteria) this;
        }

        public Criteria andCloudIdGreaterThan(Long value) {
            addCriterion("CLOUD_ID >", value, "cloudId");
            return (Criteria) this;
        }

        public Criteria andCloudIdGreaterThanOrEqualTo(Long value) {
            addCriterion("CLOUD_ID >=", value, "cloudId");
            return (Criteria) this;
        }

        public Criteria andCloudIdLessThan(Long value) {
            addCriterion("CLOUD_ID <", value, "cloudId");
            return (Criteria) this;
        }

        public Criteria andCloudIdLessThanOrEqualTo(Long value) {
            addCriterion("CLOUD_ID <=", value, "cloudId");
            return (Criteria) this;
        }

        public Criteria andCloudIdIn(List<Long> values) {
            addCriterion("CLOUD_ID in", values, "cloudId");
            return (Criteria) this;
        }

        public Criteria andCloudIdNotIn(List<Long> values) {
            addCriterion("CLOUD_ID not in", values, "cloudId");
            return (Criteria) this;
        }

        public Criteria andCloudIdBetween(Long value1, Long value2) {
            addCriterion("CLOUD_ID between", value1, value2, "cloudId");
            return (Criteria) this;
        }

        public Criteria andCloudIdNotBetween(Long value1, Long value2) {
            addCriterion("CLOUD_ID not between", value1, value2, "cloudId");
            return (Criteria) this;
        }

        public Criteria andCloudSerialNumberIsNull() {
            addCriterion("CLOUD_SERIAL_NUMBER is null");
            return (Criteria) this;
        }

        public Criteria andCloudSerialNumberIsNotNull() {
            addCriterion("CLOUD_SERIAL_NUMBER is not null");
            return (Criteria) this;
        }

        public Criteria andCloudSerialNumberEqualTo(Long value) {
            addCriterion("CLOUD_SERIAL_NUMBER =", value, "cloudSerialNumber");
            return (Criteria) this;
        }

        public Criteria andCloudSerialNumberNotEqualTo(Long value) {
            addCriterion("CLOUD_SERIAL_NUMBER <>", value, "cloudSerialNumber");
            return (Criteria) this;
        }

        public Criteria andCloudSerialNumberGreaterThan(Long value) {
            addCriterion("CLOUD_SERIAL_NUMBER >", value, "cloudSerialNumber");
            return (Criteria) this;
        }

        public Criteria andCloudSerialNumberGreaterThanOrEqualTo(Long value) {
            addCriterion("CLOUD_SERIAL_NUMBER >=", value, "cloudSerialNumber");
            return (Criteria) this;
        }

        public Criteria andCloudSerialNumberLessThan(Long value) {
            addCriterion("CLOUD_SERIAL_NUMBER <", value, "cloudSerialNumber");
            return (Criteria) this;
        }

        public Criteria andCloudSerialNumberLessThanOrEqualTo(Long value) {
            addCriterion("CLOUD_SERIAL_NUMBER <=", value, "cloudSerialNumber");
            return (Criteria) this;
        }

        public Criteria andCloudSerialNumberIn(List<Long> values) {
            addCriterion("CLOUD_SERIAL_NUMBER in", values, "cloudSerialNumber");
            return (Criteria) this;
        }

        public Criteria andCloudSerialNumberNotIn(List<Long> values) {
            addCriterion("CLOUD_SERIAL_NUMBER not in", values, "cloudSerialNumber");
            return (Criteria) this;
        }

        public Criteria andCloudSerialNumberBetween(Long value1, Long value2) {
            addCriterion("CLOUD_SERIAL_NUMBER between", value1, value2, "cloudSerialNumber");
            return (Criteria) this;
        }

        public Criteria andCloudSerialNumberNotBetween(Long value1, Long value2) {
            addCriterion("CLOUD_SERIAL_NUMBER not between", value1, value2, "cloudSerialNumber");
            return (Criteria) this;
        }

        public Criteria andCloudChangeIsNull() {
            addCriterion("CLOUD_CHANGE is null");
            return (Criteria) this;
        }

        public Criteria andCloudChangeIsNotNull() {
            addCriterion("CLOUD_CHANGE is not null");
            return (Criteria) this;
        }

        public Criteria andCloudChangeEqualTo(String value) {
            addCriterion("CLOUD_CHANGE =", value, "cloudChange");
            return (Criteria) this;
        }

        public Criteria andCloudChangeNotEqualTo(String value) {
            addCriterion("CLOUD_CHANGE <>", value, "cloudChange");
            return (Criteria) this;
        }

        public Criteria andCloudChangeGreaterThan(String value) {
            addCriterion("CLOUD_CHANGE >", value, "cloudChange");
            return (Criteria) this;
        }

        public Criteria andCloudChangeGreaterThanOrEqualTo(String value) {
            addCriterion("CLOUD_CHANGE >=", value, "cloudChange");
            return (Criteria) this;
        }

        public Criteria andCloudChangeLessThan(String value) {
            addCriterion("CLOUD_CHANGE <", value, "cloudChange");
            return (Criteria) this;
        }

        public Criteria andCloudChangeLessThanOrEqualTo(String value) {
            addCriterion("CLOUD_CHANGE <=", value, "cloudChange");
            return (Criteria) this;
        }

        public Criteria andCloudChangeLike(String value) {
            addCriterion("CLOUD_CHANGE like", value, "cloudChange");
            return (Criteria) this;
        }

        public Criteria andCloudChangeNotLike(String value) {
            addCriterion("CLOUD_CHANGE not like", value, "cloudChange");
            return (Criteria) this;
        }

        public Criteria andCloudChangeIn(List<String> values) {
            addCriterion("CLOUD_CHANGE in", values, "cloudChange");
            return (Criteria) this;
        }

        public Criteria andCloudChangeNotIn(List<String> values) {
            addCriterion("CLOUD_CHANGE not in", values, "cloudChange");
            return (Criteria) this;
        }

        public Criteria andCloudChangeBetween(String value1, String value2) {
            addCriterion("CLOUD_CHANGE between", value1, value2, "cloudChange");
            return (Criteria) this;
        }

        public Criteria andCloudChangeNotBetween(String value1, String value2) {
            addCriterion("CLOUD_CHANGE not between", value1, value2, "cloudChange");
            return (Criteria) this;
        }

        public Criteria andCloudChangeTimeIsNull() {
            addCriterion("CLOUD_CHANGE_TIME is null");
            return (Criteria) this;
        }

        public Criteria andCloudChangeTimeIsNotNull() {
            addCriterion("CLOUD_CHANGE_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andCloudChangeTimeEqualTo(Date value) {
            addCriterionForJDBCDate("CLOUD_CHANGE_TIME =", value, "cloudChangeTime");
            return (Criteria) this;
        }

        public Criteria andCloudChangeTimeNotEqualTo(Date value) {
            addCriterionForJDBCDate("CLOUD_CHANGE_TIME <>", value, "cloudChangeTime");
            return (Criteria) this;
        }

        public Criteria andCloudChangeTimeGreaterThan(Date value) {
            addCriterionForJDBCDate("CLOUD_CHANGE_TIME >", value, "cloudChangeTime");
            return (Criteria) this;
        }

        public Criteria andCloudChangeTimeGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("CLOUD_CHANGE_TIME >=", value, "cloudChangeTime");
            return (Criteria) this;
        }

        public Criteria andCloudChangeTimeLessThan(Date value) {
            addCriterionForJDBCDate("CLOUD_CHANGE_TIME <", value, "cloudChangeTime");
            return (Criteria) this;
        }

        public Criteria andCloudChangeTimeLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("CLOUD_CHANGE_TIME <=", value, "cloudChangeTime");
            return (Criteria) this;
        }

        public Criteria andCloudChangeTimeIn(List<Date> values) {
            addCriterionForJDBCDate("CLOUD_CHANGE_TIME in", values, "cloudChangeTime");
            return (Criteria) this;
        }

        public Criteria andCloudChangeTimeNotIn(List<Date> values) {
            addCriterionForJDBCDate("CLOUD_CHANGE_TIME not in", values, "cloudChangeTime");
            return (Criteria) this;
        }

        public Criteria andCloudChangeTimeBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("CLOUD_CHANGE_TIME between", value1, value2, "cloudChangeTime");
            return (Criteria) this;
        }

        public Criteria andCloudChangeTimeNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("CLOUD_CHANGE_TIME not between", value1, value2, "cloudChangeTime");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeAIsNull() {
            addCriterion("SWITCH_CODE_A is null");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeAIsNotNull() {
            addCriterion("SWITCH_CODE_A is not null");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeAEqualTo(String value) {
            addCriterion("SWITCH_CODE_A =", value, "switchCodeA");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeANotEqualTo(String value) {
            addCriterion("SWITCH_CODE_A <>", value, "switchCodeA");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeAGreaterThan(String value) {
            addCriterion("SWITCH_CODE_A >", value, "switchCodeA");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeAGreaterThanOrEqualTo(String value) {
            addCriterion("SWITCH_CODE_A >=", value, "switchCodeA");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeALessThan(String value) {
            addCriterion("SWITCH_CODE_A <", value, "switchCodeA");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeALessThanOrEqualTo(String value) {
            addCriterion("SWITCH_CODE_A <=", value, "switchCodeA");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeALike(String value) {
            addCriterion("SWITCH_CODE_A like", value, "switchCodeA");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeANotLike(String value) {
            addCriterion("SWITCH_CODE_A not like", value, "switchCodeA");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeAIn(List<String> values) {
            addCriterion("SWITCH_CODE_A in", values, "switchCodeA");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeANotIn(List<String> values) {
            addCriterion("SWITCH_CODE_A not in", values, "switchCodeA");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeABetween(String value1, String value2) {
            addCriterion("SWITCH_CODE_A between", value1, value2, "switchCodeA");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeANotBetween(String value1, String value2) {
            addCriterion("SWITCH_CODE_A not between", value1, value2, "switchCodeA");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeBIsNull() {
            addCriterion("SWITCH_CODE_B is null");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeBIsNotNull() {
            addCriterion("SWITCH_CODE_B is not null");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeBEqualTo(String value) {
            addCriterion("SWITCH_CODE_B =", value, "switchCodeB");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeBNotEqualTo(String value) {
            addCriterion("SWITCH_CODE_B <>", value, "switchCodeB");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeBGreaterThan(String value) {
            addCriterion("SWITCH_CODE_B >", value, "switchCodeB");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeBGreaterThanOrEqualTo(String value) {
            addCriterion("SWITCH_CODE_B >=", value, "switchCodeB");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeBLessThan(String value) {
            addCriterion("SWITCH_CODE_B <", value, "switchCodeB");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeBLessThanOrEqualTo(String value) {
            addCriterion("SWITCH_CODE_B <=", value, "switchCodeB");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeBLike(String value) {
            addCriterion("SWITCH_CODE_B like", value, "switchCodeB");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeBNotLike(String value) {
            addCriterion("SWITCH_CODE_B not like", value, "switchCodeB");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeBIn(List<String> values) {
            addCriterion("SWITCH_CODE_B in", values, "switchCodeB");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeBNotIn(List<String> values) {
            addCriterion("SWITCH_CODE_B not in", values, "switchCodeB");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeBBetween(String value1, String value2) {
            addCriterion("SWITCH_CODE_B between", value1, value2, "switchCodeB");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeBNotBetween(String value1, String value2) {
            addCriterion("SWITCH_CODE_B not between", value1, value2, "switchCodeB");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeCIsNull() {
            addCriterion("SWITCH_CODE_C is null");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeCIsNotNull() {
            addCriterion("SWITCH_CODE_C is not null");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeCEqualTo(String value) {
            addCriterion("SWITCH_CODE_C =", value, "switchCodeC");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeCNotEqualTo(String value) {
            addCriterion("SWITCH_CODE_C <>", value, "switchCodeC");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeCGreaterThan(String value) {
            addCriterion("SWITCH_CODE_C >", value, "switchCodeC");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeCGreaterThanOrEqualTo(String value) {
            addCriterion("SWITCH_CODE_C >=", value, "switchCodeC");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeCLessThan(String value) {
            addCriterion("SWITCH_CODE_C <", value, "switchCodeC");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeCLessThanOrEqualTo(String value) {
            addCriterion("SWITCH_CODE_C <=", value, "switchCodeC");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeCLike(String value) {
            addCriterion("SWITCH_CODE_C like", value, "switchCodeC");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeCNotLike(String value) {
            addCriterion("SWITCH_CODE_C not like", value, "switchCodeC");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeCIn(List<String> values) {
            addCriterion("SWITCH_CODE_C in", values, "switchCodeC");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeCNotIn(List<String> values) {
            addCriterion("SWITCH_CODE_C not in", values, "switchCodeC");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeCBetween(String value1, String value2) {
            addCriterion("SWITCH_CODE_C between", value1, value2, "switchCodeC");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeCNotBetween(String value1, String value2) {
            addCriterion("SWITCH_CODE_C not between", value1, value2, "switchCodeC");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeDIsNull() {
            addCriterion("SWITCH_CODE_D is null");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeDIsNotNull() {
            addCriterion("SWITCH_CODE_D is not null");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeDEqualTo(String value) {
            addCriterion("SWITCH_CODE_D =", value, "switchCodeD");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeDNotEqualTo(String value) {
            addCriterion("SWITCH_CODE_D <>", value, "switchCodeD");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeDGreaterThan(String value) {
            addCriterion("SWITCH_CODE_D >", value, "switchCodeD");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeDGreaterThanOrEqualTo(String value) {
            addCriterion("SWITCH_CODE_D >=", value, "switchCodeD");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeDLessThan(String value) {
            addCriterion("SWITCH_CODE_D <", value, "switchCodeD");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeDLessThanOrEqualTo(String value) {
            addCriterion("SWITCH_CODE_D <=", value, "switchCodeD");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeDLike(String value) {
            addCriterion("SWITCH_CODE_D like", value, "switchCodeD");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeDNotLike(String value) {
            addCriterion("SWITCH_CODE_D not like", value, "switchCodeD");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeDIn(List<String> values) {
            addCriterion("SWITCH_CODE_D in", values, "switchCodeD");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeDNotIn(List<String> values) {
            addCriterion("SWITCH_CODE_D not in", values, "switchCodeD");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeDBetween(String value1, String value2) {
            addCriterion("SWITCH_CODE_D between", value1, value2, "switchCodeD");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeDNotBetween(String value1, String value2) {
            addCriterion("SWITCH_CODE_D not between", value1, value2, "switchCodeD");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeEIsNull() {
            addCriterion("SWITCH_CODE_E is null");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeEIsNotNull() {
            addCriterion("SWITCH_CODE_E is not null");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeEEqualTo(String value) {
            addCriterion("SWITCH_CODE_E =", value, "switchCodeE");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeENotEqualTo(String value) {
            addCriterion("SWITCH_CODE_E <>", value, "switchCodeE");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeEGreaterThan(String value) {
            addCriterion("SWITCH_CODE_E >", value, "switchCodeE");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeEGreaterThanOrEqualTo(String value) {
            addCriterion("SWITCH_CODE_E >=", value, "switchCodeE");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeELessThan(String value) {
            addCriterion("SWITCH_CODE_E <", value, "switchCodeE");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeELessThanOrEqualTo(String value) {
            addCriterion("SWITCH_CODE_E <=", value, "switchCodeE");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeELike(String value) {
            addCriterion("SWITCH_CODE_E like", value, "switchCodeE");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeENotLike(String value) {
            addCriterion("SWITCH_CODE_E not like", value, "switchCodeE");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeEIn(List<String> values) {
            addCriterion("SWITCH_CODE_E in", values, "switchCodeE");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeENotIn(List<String> values) {
            addCriterion("SWITCH_CODE_E not in", values, "switchCodeE");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeEBetween(String value1, String value2) {
            addCriterion("SWITCH_CODE_E between", value1, value2, "switchCodeE");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeENotBetween(String value1, String value2) {
            addCriterion("SWITCH_CODE_E not between", value1, value2, "switchCodeE");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeFIsNull() {
            addCriterion("SWITCH_CODE_F is null");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeFIsNotNull() {
            addCriterion("SWITCH_CODE_F is not null");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeFEqualTo(String value) {
            addCriterion("SWITCH_CODE_F =", value, "switchCodeF");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeFNotEqualTo(String value) {
            addCriterion("SWITCH_CODE_F <>", value, "switchCodeF");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeFGreaterThan(String value) {
            addCriterion("SWITCH_CODE_F >", value, "switchCodeF");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeFGreaterThanOrEqualTo(String value) {
            addCriterion("SWITCH_CODE_F >=", value, "switchCodeF");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeFLessThan(String value) {
            addCriterion("SWITCH_CODE_F <", value, "switchCodeF");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeFLessThanOrEqualTo(String value) {
            addCriterion("SWITCH_CODE_F <=", value, "switchCodeF");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeFLike(String value) {
            addCriterion("SWITCH_CODE_F like", value, "switchCodeF");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeFNotLike(String value) {
            addCriterion("SWITCH_CODE_F not like", value, "switchCodeF");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeFIn(List<String> values) {
            addCriterion("SWITCH_CODE_F in", values, "switchCodeF");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeFNotIn(List<String> values) {
            addCriterion("SWITCH_CODE_F not in", values, "switchCodeF");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeFBetween(String value1, String value2) {
            addCriterion("SWITCH_CODE_F between", value1, value2, "switchCodeF");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeFNotBetween(String value1, String value2) {
            addCriterion("SWITCH_CODE_F not between", value1, value2, "switchCodeF");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeGIsNull() {
            addCriterion("SWITCH_CODE_G is null");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeGIsNotNull() {
            addCriterion("SWITCH_CODE_G is not null");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeGEqualTo(String value) {
            addCriterion("SWITCH_CODE_G =", value, "switchCodeG");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeGNotEqualTo(String value) {
            addCriterion("SWITCH_CODE_G <>", value, "switchCodeG");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeGGreaterThan(String value) {
            addCriterion("SWITCH_CODE_G >", value, "switchCodeG");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeGGreaterThanOrEqualTo(String value) {
            addCriterion("SWITCH_CODE_G >=", value, "switchCodeG");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeGLessThan(String value) {
            addCriterion("SWITCH_CODE_G <", value, "switchCodeG");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeGLessThanOrEqualTo(String value) {
            addCriterion("SWITCH_CODE_G <=", value, "switchCodeG");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeGLike(String value) {
            addCriterion("SWITCH_CODE_G like", value, "switchCodeG");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeGNotLike(String value) {
            addCriterion("SWITCH_CODE_G not like", value, "switchCodeG");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeGIn(List<String> values) {
            addCriterion("SWITCH_CODE_G in", values, "switchCodeG");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeGNotIn(List<String> values) {
            addCriterion("SWITCH_CODE_G not in", values, "switchCodeG");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeGBetween(String value1, String value2) {
            addCriterion("SWITCH_CODE_G between", value1, value2, "switchCodeG");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeGNotBetween(String value1, String value2) {
            addCriterion("SWITCH_CODE_G not between", value1, value2, "switchCodeG");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeHIsNull() {
            addCriterion("SWITCH_CODE_H is null");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeHIsNotNull() {
            addCriterion("SWITCH_CODE_H is not null");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeHEqualTo(String value) {
            addCriterion("SWITCH_CODE_H =", value, "switchCodeH");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeHNotEqualTo(String value) {
            addCriterion("SWITCH_CODE_H <>", value, "switchCodeH");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeHGreaterThan(String value) {
            addCriterion("SWITCH_CODE_H >", value, "switchCodeH");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeHGreaterThanOrEqualTo(String value) {
            addCriterion("SWITCH_CODE_H >=", value, "switchCodeH");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeHLessThan(String value) {
            addCriterion("SWITCH_CODE_H <", value, "switchCodeH");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeHLessThanOrEqualTo(String value) {
            addCriterion("SWITCH_CODE_H <=", value, "switchCodeH");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeHLike(String value) {
            addCriterion("SWITCH_CODE_H like", value, "switchCodeH");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeHNotLike(String value) {
            addCriterion("SWITCH_CODE_H not like", value, "switchCodeH");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeHIn(List<String> values) {
            addCriterion("SWITCH_CODE_H in", values, "switchCodeH");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeHNotIn(List<String> values) {
            addCriterion("SWITCH_CODE_H not in", values, "switchCodeH");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeHBetween(String value1, String value2) {
            addCriterion("SWITCH_CODE_H between", value1, value2, "switchCodeH");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeHNotBetween(String value1, String value2) {
            addCriterion("SWITCH_CODE_H not between", value1, value2, "switchCodeH");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeIIsNull() {
            addCriterion("SWITCH_CODE_I is null");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeIIsNotNull() {
            addCriterion("SWITCH_CODE_I is not null");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeIEqualTo(String value) {
            addCriterion("SWITCH_CODE_I =", value, "switchCodeI");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeINotEqualTo(String value) {
            addCriterion("SWITCH_CODE_I <>", value, "switchCodeI");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeIGreaterThan(String value) {
            addCriterion("SWITCH_CODE_I >", value, "switchCodeI");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeIGreaterThanOrEqualTo(String value) {
            addCriterion("SWITCH_CODE_I >=", value, "switchCodeI");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeILessThan(String value) {
            addCriterion("SWITCH_CODE_I <", value, "switchCodeI");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeILessThanOrEqualTo(String value) {
            addCriterion("SWITCH_CODE_I <=", value, "switchCodeI");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeILike(String value) {
            addCriterion("SWITCH_CODE_I like", value, "switchCodeI");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeINotLike(String value) {
            addCriterion("SWITCH_CODE_I not like", value, "switchCodeI");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeIIn(List<String> values) {
            addCriterion("SWITCH_CODE_I in", values, "switchCodeI");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeINotIn(List<String> values) {
            addCriterion("SWITCH_CODE_I not in", values, "switchCodeI");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeIBetween(String value1, String value2) {
            addCriterion("SWITCH_CODE_I between", value1, value2, "switchCodeI");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeINotBetween(String value1, String value2) {
            addCriterion("SWITCH_CODE_I not between", value1, value2, "switchCodeI");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeJIsNull() {
            addCriterion("SWITCH_CODE_J is null");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeJIsNotNull() {
            addCriterion("SWITCH_CODE_J is not null");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeJEqualTo(String value) {
            addCriterion("SWITCH_CODE_J =", value, "switchCodeJ");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeJNotEqualTo(String value) {
            addCriterion("SWITCH_CODE_J <>", value, "switchCodeJ");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeJGreaterThan(String value) {
            addCriterion("SWITCH_CODE_J >", value, "switchCodeJ");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeJGreaterThanOrEqualTo(String value) {
            addCriterion("SWITCH_CODE_J >=", value, "switchCodeJ");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeJLessThan(String value) {
            addCriterion("SWITCH_CODE_J <", value, "switchCodeJ");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeJLessThanOrEqualTo(String value) {
            addCriterion("SWITCH_CODE_J <=", value, "switchCodeJ");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeJLike(String value) {
            addCriterion("SWITCH_CODE_J like", value, "switchCodeJ");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeJNotLike(String value) {
            addCriterion("SWITCH_CODE_J not like", value, "switchCodeJ");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeJIn(List<String> values) {
            addCriterion("SWITCH_CODE_J in", values, "switchCodeJ");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeJNotIn(List<String> values) {
            addCriterion("SWITCH_CODE_J not in", values, "switchCodeJ");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeJBetween(String value1, String value2) {
            addCriterion("SWITCH_CODE_J between", value1, value2, "switchCodeJ");
            return (Criteria) this;
        }

        public Criteria andSwitchCodeJNotBetween(String value1, String value2) {
            addCriterion("SWITCH_CODE_J not between", value1, value2, "switchCodeJ");
            return (Criteria) this;
        }

        public Criteria andApprovedBedIsNull() {
            addCriterion("APPROVED_BED is null");
            return (Criteria) this;
        }

        public Criteria andApprovedBedIsNotNull() {
            addCriterion("APPROVED_BED is not null");
            return (Criteria) this;
        }

        public Criteria andApprovedBedEqualTo(Integer value) {
            addCriterion("APPROVED_BED =", value, "approvedBed");
            return (Criteria) this;
        }

        public Criteria andApprovedBedNotEqualTo(Integer value) {
            addCriterion("APPROVED_BED <>", value, "approvedBed");
            return (Criteria) this;
        }

        public Criteria andApprovedBedGreaterThan(Integer value) {
            addCriterion("APPROVED_BED >", value, "approvedBed");
            return (Criteria) this;
        }

        public Criteria andApprovedBedGreaterThanOrEqualTo(Integer value) {
            addCriterion("APPROVED_BED >=", value, "approvedBed");
            return (Criteria) this;
        }

        public Criteria andApprovedBedLessThan(Integer value) {
            addCriterion("APPROVED_BED <", value, "approvedBed");
            return (Criteria) this;
        }

        public Criteria andApprovedBedLessThanOrEqualTo(Integer value) {
            addCriterion("APPROVED_BED <=", value, "approvedBed");
            return (Criteria) this;
        }

        public Criteria andApprovedBedIn(List<Integer> values) {
            addCriterion("APPROVED_BED in", values, "approvedBed");
            return (Criteria) this;
        }

        public Criteria andApprovedBedNotIn(List<Integer> values) {
            addCriterion("APPROVED_BED not in", values, "approvedBed");
            return (Criteria) this;
        }

        public Criteria andApprovedBedBetween(Integer value1, Integer value2) {
            addCriterion("APPROVED_BED between", value1, value2, "approvedBed");
            return (Criteria) this;
        }

        public Criteria andApprovedBedNotBetween(Integer value1, Integer value2) {
            addCriterion("APPROVED_BED not between", value1, value2, "approvedBed");
            return (Criteria) this;
        }

        public Criteria andOpDepaIsNull() {
            addCriterion("OP_DEPA is null");
            return (Criteria) this;
        }

        public Criteria andOpDepaIsNotNull() {
            addCriterion("OP_DEPA is not null");
            return (Criteria) this;
        }

        public Criteria andOpDepaEqualTo(String value) {
            addCriterion("OP_DEPA =", value, "opDepa");
            return (Criteria) this;
        }

        public Criteria andOpDepaNotEqualTo(String value) {
            addCriterion("OP_DEPA <>", value, "opDepa");
            return (Criteria) this;
        }

        public Criteria andOpDepaGreaterThan(String value) {
            addCriterion("OP_DEPA >", value, "opDepa");
            return (Criteria) this;
        }

        public Criteria andOpDepaGreaterThanOrEqualTo(String value) {
            addCriterion("OP_DEPA >=", value, "opDepa");
            return (Criteria) this;
        }

        public Criteria andOpDepaLessThan(String value) {
            addCriterion("OP_DEPA <", value, "opDepa");
            return (Criteria) this;
        }

        public Criteria andOpDepaLessThanOrEqualTo(String value) {
            addCriterion("OP_DEPA <=", value, "opDepa");
            return (Criteria) this;
        }

        public Criteria andOpDepaLike(String value) {
            addCriterion("OP_DEPA like", value, "opDepa");
            return (Criteria) this;
        }

        public Criteria andOpDepaNotLike(String value) {
            addCriterion("OP_DEPA not like", value, "opDepa");
            return (Criteria) this;
        }

        public Criteria andOpDepaIn(List<String> values) {
            addCriterion("OP_DEPA in", values, "opDepa");
            return (Criteria) this;
        }

        public Criteria andOpDepaNotIn(List<String> values) {
            addCriterion("OP_DEPA not in", values, "opDepa");
            return (Criteria) this;
        }

        public Criteria andOpDepaBetween(String value1, String value2) {
            addCriterion("OP_DEPA between", value1, value2, "opDepa");
            return (Criteria) this;
        }

        public Criteria andOpDepaNotBetween(String value1, String value2) {
            addCriterion("OP_DEPA not between", value1, value2, "opDepa");
            return (Criteria) this;
        }

        public Criteria andIcuTypeIsNull() {
            addCriterion("ICU_TYPE is null");
            return (Criteria) this;
        }

        public Criteria andIcuTypeIsNotNull() {
            addCriterion("ICU_TYPE is not null");
            return (Criteria) this;
        }

        public Criteria andIcuTypeEqualTo(String value) {
            addCriterion("ICU_TYPE =", value, "icuType");
            return (Criteria) this;
        }

        public Criteria andIcuTypeNotEqualTo(String value) {
            addCriterion("ICU_TYPE <>", value, "icuType");
            return (Criteria) this;
        }

        public Criteria andIcuTypeGreaterThan(String value) {
            addCriterion("ICU_TYPE >", value, "icuType");
            return (Criteria) this;
        }

        public Criteria andIcuTypeGreaterThanOrEqualTo(String value) {
            addCriterion("ICU_TYPE >=", value, "icuType");
            return (Criteria) this;
        }

        public Criteria andIcuTypeLessThan(String value) {
            addCriterion("ICU_TYPE <", value, "icuType");
            return (Criteria) this;
        }

        public Criteria andIcuTypeLessThanOrEqualTo(String value) {
            addCriterion("ICU_TYPE <=", value, "icuType");
            return (Criteria) this;
        }

        public Criteria andIcuTypeLike(String value) {
            addCriterion("ICU_TYPE like", value, "icuType");
            return (Criteria) this;
        }

        public Criteria andIcuTypeNotLike(String value) {
            addCriterion("ICU_TYPE not like", value, "icuType");
            return (Criteria) this;
        }

        public Criteria andIcuTypeIn(List<String> values) {
            addCriterion("ICU_TYPE in", values, "icuType");
            return (Criteria) this;
        }

        public Criteria andIcuTypeNotIn(List<String> values) {
            addCriterion("ICU_TYPE not in", values, "icuType");
            return (Criteria) this;
        }

        public Criteria andIcuTypeBetween(String value1, String value2) {
            addCriterion("ICU_TYPE between", value1, value2, "icuType");
            return (Criteria) this;
        }

        public Criteria andIcuTypeNotBetween(String value1, String value2) {
            addCriterion("ICU_TYPE not between", value1, value2, "icuType");
            return (Criteria) this;
        }

        public Criteria andShortnameIsNull() {
            addCriterion("SHORTNAME_ is null");
            return (Criteria) this;
        }

        public Criteria andShortnameIsNotNull() {
            addCriterion("SHORTNAME_ is not null");
            return (Criteria) this;
        }

        public Criteria andShortnameEqualTo(String value) {
            addCriterion("SHORTNAME_ =", value, "shortname");
            return (Criteria) this;
        }

        public Criteria andShortnameNotEqualTo(String value) {
            addCriterion("SHORTNAME_ <>", value, "shortname");
            return (Criteria) this;
        }

        public Criteria andShortnameGreaterThan(String value) {
            addCriterion("SHORTNAME_ >", value, "shortname");
            return (Criteria) this;
        }

        public Criteria andShortnameGreaterThanOrEqualTo(String value) {
            addCriterion("SHORTNAME_ >=", value, "shortname");
            return (Criteria) this;
        }

        public Criteria andShortnameLessThan(String value) {
            addCriterion("SHORTNAME_ <", value, "shortname");
            return (Criteria) this;
        }

        public Criteria andShortnameLessThanOrEqualTo(String value) {
            addCriterion("SHORTNAME_ <=", value, "shortname");
            return (Criteria) this;
        }

        public Criteria andShortnameLike(String value) {
            addCriterion("SHORTNAME_ like", value, "shortname");
            return (Criteria) this;
        }

        public Criteria andShortnameNotLike(String value) {
            addCriterion("SHORTNAME_ not like", value, "shortname");
            return (Criteria) this;
        }

        public Criteria andShortnameIn(List<String> values) {
            addCriterion("SHORTNAME_ in", values, "shortname");
            return (Criteria) this;
        }

        public Criteria andShortnameNotIn(List<String> values) {
            addCriterion("SHORTNAME_ not in", values, "shortname");
            return (Criteria) this;
        }

        public Criteria andShortnameBetween(String value1, String value2) {
            addCriterion("SHORTNAME_ between", value1, value2, "shortname");
            return (Criteria) this;
        }

        public Criteria andShortnameNotBetween(String value1, String value2) {
            addCriterion("SHORTNAME_ not between", value1, value2, "shortname");
            return (Criteria) this;
        }
    }

    /**
     * STDHOSPITALOFFICE_
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    /**
     * STDHOSPITALOFFICE_ 2020-06-10
     */
    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}